

import com.huolian.student.entity.Student;

import java.util.Scanner;

public class StudentManager {
    public static  void main(String[] args){

        Scanner scanner =new Scanner(System.in);

        System.out.print("Enter name:");
        String name = scanner.nextLine();

        System.out.print("Enter age:");
        int age = scanner.nextInt();

        System.out.print("Enter id:");
        String studentID = scanner.nextLine();

        Student student = new Student(name,age,studentID);
        System.out.println(student.toString());
    }


}